extends "../cex___zahuopu-Hide/item.gd"
	
var ItemData = preload("./itemData.gd").getCharaData()

func _init():
	._init()

func init():
	.init()
	price = 300
	name = ItemData.NAME
	type = config.EQUITYPE_EQUI
	attInit()
	att.maxHp = 0
	info = ItemData.INFO_TEXT
	info += sys.rndListItem(adlist).format({"0":sys.rndListItem(adcolour),"1":sys.rndListItem(adprice)})

func _connect():
	if masCha.hasItem("i_Hide-ZHP-UnbreakableHeart"):
		if masCha.team == 1:
			yield(sys.get_tree().create_timer(0.05), "timeout")
			masCha.delItem(self)
		return
	att.maxHp = masCha.attCoe.maxHp*112.5*masCha.lv